package com.design.structure.adapter.atguigu.classadapter;

/**
 * @ProjectName: design
 * @Package: com.design.structure.adapter.atguigu.classadapter
 * @ClassName: Voltage220V
 * @Author: shenaiguo
 * @Description: 被适配的类
 * @Date: 2020/8/31 0031 22:56
 */
// 步骤1
public class Voltage220V {
    //输出 220V 的电压
    public int output220V() {
        int src = 220;
        System.out.println("电压=" + src + "伏");
        return src;
    }
}
